snapcraft close should complain early with one argument
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I find myself accidentally omitting the snap name quite often with snapcraft and didn't notice my mistake when attempting to close a branch using:
⟫ snapcraft close edge/bump-20
Your account lacks permission to close channels for this snap. Make sure the logged in account has upload permissions on 'edge/bump-20' in series '16'.
snapcraft knows that 'close' needs at least two arguments and additionally it should know that '/' is not a valid character for a snap name. By applying this knowledge, snapcraft could help me realise my typo.
Bonus points if it inspects the current directory for a snapcraft.yaml and suggests the right command to me.
Evaluation history
No evaluation history available.